#include <iostream>
#include <ctime>
#include "DenseGraph.h"
#include "SparseGraph.h"
#include "ReadGraph.h"
#include "Components.h"

int main(){
    string filename1 = "testG1.txt";

    SparseGraph g1(13, false);
    ReadGraph<SparseGraph> readGraph1(g1, filename1);
    Components<SparseGraph> component1(g1);
    cout << "TestG1.txt, Component Count: "<< component1.count() << endl;

    cout << endl;

    string filename2 = "testG2.txt";
    SparseGraph g2(6, false);
    ReadGraph<SparseGraph> readGraph2(g2, filename2);
    Components<SparseGraph> component2(g2);
    cout << "TestG2.txt, Component Count: " << component2.count() << endl;

    return 0;
}